public class ArraySum {
	public static void main(String[] args) {
		int[] array = {1, 12, 34, 6, 9};
		int sum = 0;
		for(int i = 0; i < array.length; i++) 
			sum += array[i];
		System.out.println("The Sum is " + sum);
	}
}

